package com.qixiaobao.nondirect.invoice.mapper;

import com.qixiaobao.nondirect.invoice.domain.domain.InvoiceBill;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Description 开票账单 数据层
 * @Author yangxm
 * @Date 2025/7/3 14:10
 */
@Mapper
public interface InvoiceBillMapper {


    /**
     * 根据开票账单ID查询开票ID
     *
     * @param invoiceBillId 开票账单ID
     * @return 开票账单
     */
    InvoiceBill selectInvoiceIdById(Long invoiceBillId);

    /**
     * @Description 更新 保险费发票凭证和状态
     * @Author yangxm
     * @Date 2025/7/3 14:19
     * @param invoiceBill
     * @return int
     */
    int updateInsureFeeProof(InvoiceBill invoiceBill);
}
